package cn.lili.modules.share.mapper;

import cn.lili.modules.share.entity.docs.AppHmd;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2024-03-21
 */
public interface AppHmdMapper extends BaseMapper<AppHmd> {

    @Update("UPDATE app_hmd SET count = count + 1 WHERE id = #{id}")
    int shareRegisterAddOneStatistics(Integer id);
}
